﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Oragon.Architecture.Data.SqlBuilder
{
	/// <summary>
	/// Representa uma literal SQL
	/// </summary>
	[Serializable]
	public class SqlLiteral : ISQLStatement
	{
		public string Value { get; protected set; }

		internal SqlLiteral(string value)
		{
			this.Value = value;
		}

		public string ToSQL()
		{
			return this.Value;
		}


        #region ISQLStatement Members

        string ISQLStatement.ToSQL()
        {
            return this.Value;
        }

        #endregion
    }
}
